body.ytcenter-player-gap .watch-stage-mode #player,
body.ytcenter-player-gap .watch-stage-mode #placeholder-player {
  margin-top: 0;
}

.watch-stage-mode #player-playlist .radio-playlist .playlist-videos-list {
  max-height: 360px !important;
}

#placeholder-player .player-api {
  max-width: 0;
}

.ytcenter-resize .watch-stage-mode #player-api,
.ytcenter-resize .watch-stage-mode #player-unavailable {
  left: initial !important;
  right: initial !important;
  margin: 0 auto !important;
  position: relative;
}

#player-unavailable:not(.hid) + #player-api {
  display: none;
}

.ytcenter-resize .exp-watch-controls-overlay #watch-sidebar-spacer {
  height: 0 !important;
}

.ytcenter-resize #player-api {
  position: relative;
}

.ytcenter-resize #player {
  width: 100% !important;
}

.ytcenter-resize #player-mole-container {
  position: absolute;
  width: 100%;
}

body.ytcenter-scrolled-top {
  overflow: hidden;
}

.ytcenter-scrolled-top #player-playlist,
.ytcenter-scrolled-top-player-pre #player-playlist {
  display: none;
}

.ytcenter-scrolled-top .watch-sidebar {
  top: 0!important;
}

.ytcenter-scrolled-top #page,
.ytcenter-scrolled-top-player-pre #page {
  position: static !important;
}

.ytcenter-scrolled-top #player-mole-container,
.ytcenter-scrolled-top-player-pre #player-mole-container,
.ytcenter-scrolled-top #player,
.ytcenter-scrolled-top-player-pre #player {
  position: static !important;
}

.ytcenter-scrolled-top #player,
.ytcenter-scrolled-top #player-legacy {
  overflow: visible !important;
}

.ytcenter-scrolled-top-player-pre #player-api,
.ytcenter-scrolled-top-player-pre #player-api-legacy {
  width: 100% !important;
  height: 100% !important;
  
  position: absolute !important;
  top: -100% !important;
}
.ltr.ytcenter-scrolled-top-player-pre #player-api,
.ltr.ytcenter-scrolled-top-player-pre #player-api-legacy,
.ltr.ytcenter-scrolled-top #player-api,
.ltr.ytcenter-scrolled-top #player-api-legacy {
  left: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.rtl.ytcenter-scrolled-top-player-pre #player-api,
.rtl.ytcenter-scrolled-top-player-pre #player-api-legacy,
.rtl.ytcenter-scrolled-top #player-api,
.rtl.ytcenter-scrolled-top #player-api-legacy {
  right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.ytcenter-scrolled-top #player-api,
.ytcenter-scrolled-top #player-api-legacy {
  width: 100% !important;
  height: 100% !important;
  
  position: absolute !important;
  top: 0% !important;

  -moz-transition: top 0.5s linear;
  -ms-transition: top 0.5s linear;
  -o-transition: top 0.5s linear;
  -webkit-transition: top 0.5s linear;
  transition: top 0.5s linear;
}

.ltr.ytcenter-scrolled-top #page {
  padding-left: 0 !important;
}
.rtl.ytcenter-scrolled-top #page {
  padding-right: 0 !important;
}

.ytcenter-scrolled-top-element {
  display: none;
}

.ytcenter-site-watch .ytcenter-scrolled-top-element {
  width: 100%;
  height: 0%;
  
  background: #000;
  
  -moz-transition: height 0.5s linear;
  -ms-transition: height 0.5s linear;
  -o-transition: height 0.5s linear;
  -webkit-transition: height 0.5s linear;
  transition: height 0.5s linear;
  
  display: block;
}

.ytcenter-scrolled-top .ytcenter-scrolled-top-element {
  height: 100%;
}

.ytcenter-scrolled-inverse #player-api,
.ytcenter-scrolled-inverse #player-api-legacy {
  margin-top: 0px !important;
}

.ytcenter-scrolled-top.ytcenter-scrolled-inverse .ytcenter-scrolled-top-element {
  padding-bottom: 0px;
}

.ytcenter-scrolled-top-noscrollbar {
  overflow: hidden !important;
}

.ytcenter-scrolled-top #masthead-positioner,
.ytcenter-scrolled-top-static #masthead-positioner {
  position: static !important;
}
.ytcenter-scrolled-top #masthead-positioner-height-offset,
.ytcenter-scrolled-top-static #masthead-positioner-height-offset {
  display: none !important;
}
.ytcenter-scrolled-top #guide,
.ytcenter-scrolled-top-static #guide {
  display: none !important;
}

.ytcenter-scrolled-top-disable-animation .ytcenter-scrolled-top-element,
.ytcenter-scrolled-top-disable-animation.ytcenter-scrolled-top #player-api,
.ytcenter-scrolled-top-disable-animation.ytcenter-scrolled-top #player-api-legacy,
.ytcenter-scrolled-top-player-pre #player-api,
.ytcenter-scrolled-top-player-pre #player-api-legacy  {
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
  -webkit-transition: none !important;
  transition: none !important;
}
